package com.s7.compat.network.server;

import java.util.Map;

import io.reactivex.Observable;
import okhttp3.RequestBody;
import okhttp3.ResponseBody;
import retrofit2.http.Body;
import retrofit2.http.DELETE;
import retrofit2.http.HeaderMap;
import retrofit2.http.QueryMap;
import retrofit2.http.Url;

public interface DeleteQueryServer {

    @DELETE
    Observable<ResponseBody> onDelete(@Url String url,
                                    @QueryMap Map<String, String> parameters);
    @DELETE
    Observable<ResponseBody> onDelete(@Url String url,
                                    @Body RequestBody parameters);

    @DELETE
    Observable<ResponseBody> onDelete(@Url String url,
                                    @HeaderMap Map<String, String> headers,
                                    @QueryMap Map<String, String> parameters);

    @DELETE
    Observable<ResponseBody> onDelete(@Url String url,
                                    @HeaderMap Map<String, String> headers,
                                    @Body RequestBody parameters);
}
